/*
 * @Author: Cenven
 * @Date: 2020-12-07 11:07:37
 * @Description: 北京泓深教育发展有限公司
 */
let config = {
  title: " ",
  baseUrl: "http://192.168.3.50:8080",
  map_key: ""
};
if (process.env.NODE_ENV == "development") {
  //默认生产环境
  config = {
    ...config,
	baseUrl: "http://8.136.159.50:8088",
	socketUrl: "ws://8.136.159.50:8088/webSocket/"
    // baseUrl: "http://192.168.2.2:8088",
    // socketUrl: "ws://192.168.2.2:8088/webSocket/"
    // baseUrl: "https://api.keelea.com",
    // socketUrl: "wss://api.keelea.com/webSocket/"
  };
} else if (process.env.NODE_ENV == "testing") {
  //默认生产环境
  config = {
    ...config,
    baseUrl: "http://192.168.0.118:8080" //java项目接口地址
  };
} else {
  //默认生产环境
  config = {
    ...config,
	baseUrl: "http://128.1.91.3:8088",
	socketUrl: "ws://128.1.91.3:8088/webSocket/"
    // baseUrl: "https://api.keelea.com",
    // socketUrl: "wss://api.keelea.com/webSocket/"
    // baseUrl: "http://192.168.0.105:8088",
    // socketUrl: "ws://192.168.0.105:8088/webSocket/keelea"
    // baseUrl: "http://powerless.free.idcfengye.com", //java项目接口地址
    // socketUrl: "ws://powerless.free.idcfengye.com/webSocket/keelea"
    // baseUrl: "http://api.keelea.com" //java项目接口地址
  };
}
module.exports = config;
